package edu.eas.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author cql
 */
@Data
public class ClientParam {

    @ApiModelProperty(value = "客户端标识")
    private String clientId;

    @ApiModelProperty(value = "授权范围标识，比如指定微服务名称，则只可以访问指定的微服务")
    private String[] scope;

    @ApiModelProperty(value = "授权类型，支持同时多种授权类型(authorization_code, password, implicit,client_credentials,refresh_token)")
    private String[] authorizedGrantTypes;

    @ApiModelProperty(value = "重定向页面")
    private String webServerRedirectUri;

    @ApiModelProperty(value = "access_token过期时间")
    private Integer accessTokenValidity;

    @ApiModelProperty(value = "refresh_token过期时间")
    private Integer refreshTokenValidity;


}
